package com.huang.factory;

/**
 * 工厂模式
 * <p>计算器实体类</p>
 *
 * @author aneng huang
 * @since 2020-10-27 10:15:11
 */
public class Calculator {

    private double numberOne;
    private double numberTwo;

    public Calculator(){}
    public Calculator(double numberOne, double numberTwo) {
        this.numberOne = numberOne;
        this.numberTwo = numberTwo;
    }

    public double getNumberOne() {
        return numberOne;
    }

    public void setNumberOne(double numberOne) {
        this.numberOne = numberOne;
    }

    public double getNumberTwo() {
        return numberTwo;
    }

    public void setNumberTwo(double numberTwo) {
        this.numberTwo = numberTwo;
    }
}
